Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Prepare for lit-element 2.3.0 version bump #55

Merged
merged 3 commits into from
Mar 18, 2020
Merged

Conversation

web-padawan
Copy link
Member

Connected to #29

In the 2.3.0 release, there will be a new public API getStyles that we can use.

At the same time, private API that we are currently using will not be reliable anymore.
In particular, the timings for setting _styles have changed.

As a result of this change, the following test has to be adjusted:

Before

should inject to subclassed components

After

should not inject to subclassed components

This is how it already works in the real components (e.g. vaadin-accordion-panel that extends vaadin-details) that have their own styles. So apparently the previous test was broken.

Tested this locally based on lit/lit-element#853

@web-padawan web-padawan force-pushed the lit-element-bump branch 2 times, most recently from d16d504 to 498bafb Compare March 18, 2020 07:21
@web-padawan web-padawan marked this pull request as ready for review March 18, 2020 21:06
@web-padawan web-padawan merged commit 869e648 into master Mar 18, 2020
@web-padawan web-padawan deleted the lit-element-bump branch March 18, 2020 21:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant